package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

import java.util.List;

public interface AdSensitiveService extends IService<AdSensitive> {

    ResponseResult deleteSensitive(Integer id);

    ResponseResult querySensitive(SensitiveDTO sensitiveDTO);

    ResponseResult saveSensitive(AdSensitive adSensitive);

    ResponseResult updateSensitive(AdSensitive adSensitive);

    /**
     * 查询敏感词内容列表
     * @return
     */
    ResponseResult<List<String>> selectAllSensitives();
}
